

daysFromNow = {
    ->
    Calendar todya = Calendar.instance
    todya.add(Calendar.DAY_OF_MONTH, (int)delegate)
    todya.time
}

Integer.metaClass.getDaysFromNow = daysFromNow
println 5.daysFromNow





















































